﻿using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using PS.Engine.GameComponents;

namespace PS.Engine.DataTypes
{
    [Serializable]
    public abstract class PedestrianZone
    {
        #region Protected Members

        [NonSerialized]
        protected List<PedestrianSerializable> pedestrians = new List<PedestrianSerializable>();

        #endregion Protected Members

        #region Public Properties

        public Rectangle ZoneRectangle { get; set; }

        #endregion Public Properties

        #region Public Abstract Methods

        public abstract List<PedestrianSerializable> GetPedestrians();

        #endregion Public Abstract Methods

        #region Constructors

        public PedestrianZone()
        {
            ZoneRectangle = Rectangle.Empty;
        }

        public PedestrianZone(int x, int y, int width, int height)
        {
            ZoneRectangle = new Rectangle(x, y, width, height);
        }

        #endregion Constructors
    }
}
